package com.ww.demo.core.exception;

import org.springframework.http.HttpStatus;

/**
 * @author liuqingwang
 * @date 2021/10/25 22:27
 */
public class ClientException extends BaseException {
    public ClientException(String errorMessage) {
        super(HttpStatus.BAD_REQUEST.value(), errorMessage);
    }

    public ClientException(int errorCode, String errorMessage) {
        super(errorCode, errorMessage);
    }
}
